﻿using System;
using System.Collections.Generic;
using System.Text;

namespace IceDog.DNL.CSharp.DesignPattern.BuilderPattern.KFC
{
    public abstract class FoodItem
    {
        /// <summary>
        /// 名称
        /// </summary>
        /// <returns></returns>
        public virtual string Name => GetType().Name;
        /// <summary>
        /// 包装
        /// </summary>
        /// <returns></returns>
        public abstract Packing Packing { get;}
        /// <summary>
        /// 价格
        /// </summary>
        /// <returns></returns>
        public abstract decimal Price { get;}
    }
}
